import scrapy
from scrapy.loader import ItemLoader
from scrapy.loader.processors import TakeFirst, MapCompose, Identity


class Spider1Item(scrapy.Item):
    text = scrapy.Field()
    author = scrapy.Field()
    tags = scrapy.Field()


class QuotesItemLoader(ItemLoader):
    default_item_class = Spider1Item
    default_output_processor = TakeFirst()
